/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.apestar.modules.specification.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.apestar.common.persistence.Page;
import cn.apestar.common.service.CrudService;
import cn.apestar.modules.specification.entity.ApestarSpecification;
import cn.apestar.modules.specification.dao.ApestarSpecificationDao;

/**
 * 规格管理Service
 * @author yudw
 * @version 2017-04-05
 */
@Service
@Transactional(readOnly = true)
public class ApestarSpecificationService extends CrudService<ApestarSpecificationDao, ApestarSpecification> {

	public ApestarSpecification get(String id) {
		return super.get(id);
	}
	
	public List<ApestarSpecification> findList(ApestarSpecification apestarSpecification) {
		return super.findList(apestarSpecification);
	}
	
	public Page<ApestarSpecification> findPage(Page<ApestarSpecification> page, ApestarSpecification apestarSpecification) {
		return super.findPage(page, apestarSpecification);
	}
	
	@Transactional(readOnly = false)
	public void save(ApestarSpecification apestarSpecification) {
		super.save(apestarSpecification);
	}
	
	@Transactional(readOnly = false)
	public void delete(ApestarSpecification apestarSpecification) {
		super.delete(apestarSpecification);
	}
	
}